package com.qfedu.buy.server.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @program: NeighborBuy
 * @description:
 * @author: Feri(邢朋辉)
 * @create: 2021-02-04 09:12
 */
@Data
@NoArgsConstructor
public class OrderItem {
    private Integer id;
    private Integer oid;
    private Integer gid;
    private Integer gskuid;
    private Integer gprice;
    private Integer num;
    private String gtitle;
    private String gsku;
    private String gpicurl;
    private Date ctime;

    public OrderItem(Integer oid, Integer gid, Integer gskuid, Integer gprice, Integer num, String gtitle, String gsku, String gpicurl) {
        this.oid = oid;
        this.gid = gid;
        this.gskuid = gskuid;
        this.gprice = gprice;
        this.num = num;
        this.gtitle = gtitle;
        this.gsku = gsku;
        this.gpicurl = gpicurl;
    }
}